package vn.orderonline.core.dao.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class RestaurantMenuDrinkId implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer restaurantId;
	private Integer menuDrinkId;
	
	public RestaurantMenuDrinkId() {
		
	}
	
	public RestaurantMenuDrinkId(Integer restaurantId, Integer menuDrinkId) {
		this.restaurantId = restaurantId;
		this.menuDrinkId = menuDrinkId;
	}

	@Column(name = "RESTAURANT_ID", nullable = false, precision = 11, scale = 0)
	public Integer getRestaurantId() {
		return restaurantId;
	}

	public void setRestaurantId(Integer restaurantId) {
		this.restaurantId = restaurantId;
	}

	@Column(name = "MENU_DRINK_ID", nullable = false, precision = 11, scale = 0)
	public Integer getMenuDrinkId() {
		return menuDrinkId;
	}

	public void setMenuDrinkId(Integer menuDrinkId) {
		this.menuDrinkId = menuDrinkId;
	}
	
}
